package net.worldscale.xp.wspr.impl;

import net.worldscale.xp.wspr.IThreadEntry;
import net.worldscale.xp.wspr.WsThread;
import net.worldscale.xp.wspr.ThreadManager;

class ImplWsThreadAgent extends ThreadManager {

	public ImplWsThreadAgent() {
	}

	@Override
	public WsThread newThread(IThreadEntry te) {
		return new ImplWsThread(te);
	}

	@Override
	public void sleep(long ms) {
		try {
			Thread.sleep(ms);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}

}
